package com.voute.Api;

import com.voute.Model.Bean.BaseBean;
import com.voute.Model.Bean.RegistResponseBean;

import java.util.HashMap;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by liucxu on 2017/1/16.
 */

public interface RegisterService {
    @FormUrlEncoded
    @POST("v1/robot/sms")
    Observable<BaseBean> getSMSCode(@FieldMap HashMap<String, String> values);

    @FormUrlEncoded
    @POST("v1/account")
    Observable<RegistResponseBean> registerCount(@FieldMap HashMap<String, String> values);
}
